package com.jinmdz.fmis.api.model.config.dictionary;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 接运信息状态编码
 *
 * @author LiCongLu
 * @date 2020-02-10 15:30
 */
@Component("taskStateCode")
@PropertySource(value = {"classpath:dictionary-code.properties"}, encoding = "utf-8")
@ConfigurationProperties(prefix = "rec.task.state")
public class TaskStateCode {
    /**
     * 预约登记
     */

    private Integer yuYueDengJi = 0;
    /**
     * 已调度
     */

    private Integer yiDiaoDu = 1;
    /**
     * 已出车
     */
    private Integer yiChuChe = 2;
    /**
     * 已回车
     */

    private Integer yiHuiChe = 3;
    /**
     * 返空车
     */

    private Integer fanKongChe = 4;
    /**
     * 预约登记
     */

    private String yuYueDengJi_name = "预约登记";
    /**
     * 已调度
     */

    private String yiDiaoDu_name = "已调度";
    /**
     * 已出车
     */
    private String yiChuChe_name = "已出车";
    /**
     * 已回车
     */

    private String yiHuiChe_name = "已回车";
    /**
     * 返空车
     */

    private String fanKongChe_name = "返空车";

    public Integer getYuYueDengJi() {
        return yuYueDengJi;
    }

    public TaskStateCode setYuYueDengJi(Integer yuYueDengJi) {
        this.yuYueDengJi = yuYueDengJi;
        return this;
    }

    public Integer getYiDiaoDu() {
        return yiDiaoDu;
    }

    public TaskStateCode setYiDiaoDu(Integer yiDiaoDu) {
        this.yiDiaoDu = yiDiaoDu;
        return this;
    }

    public Integer getYiChuChe() {
        return yiChuChe;
    }

    public TaskStateCode setYiChuChe(Integer yiChuChe) {
        this.yiChuChe = yiChuChe;
        return this;
    }

    public Integer getYiHuiChe() {
        return yiHuiChe;
    }

    public TaskStateCode setYiHuiChe(Integer yiHuiChe) {
        this.yiHuiChe = yiHuiChe;
        return this;
    }

    public Integer getFanKongChe() {
        return fanKongChe;
    }

    public TaskStateCode setFanKongChe(Integer fanKongChe) {
        this.fanKongChe = fanKongChe;
        return this;
    }

    public String getYuYueDengJi_name() {
        return yuYueDengJi_name;
    }

    public TaskStateCode setYuYueDengJi_name(String yuYueDengJi_name) {
        this.yuYueDengJi_name = yuYueDengJi_name;
        return this;
    }

    public String getYiDiaoDu_name() {
        return yiDiaoDu_name;
    }

    public TaskStateCode setYiDiaoDu_name(String yiDiaoDu_name) {
        this.yiDiaoDu_name = yiDiaoDu_name;
        return this;
    }

    public String getYiChuChe_name() {
        return yiChuChe_name;
    }

    public TaskStateCode setYiChuChe_name(String yiChuChe_name) {
        this.yiChuChe_name = yiChuChe_name;
        return this;
    }

    public String getYiHuiChe_name() {
        return yiHuiChe_name;
    }

    public TaskStateCode setYiHuiChe_name(String yiHuiChe_name) {
        this.yiHuiChe_name = yiHuiChe_name;
        return this;
    }

    public String getFanKongChe_name() {
        return fanKongChe_name;
    }

    public TaskStateCode setFanKongChe_name(String fanKongChe_name) {
        this.fanKongChe_name = fanKongChe_name;
        return this;
    }
}
